#ifndef TRACKLISTFORM_H
#define TRACKLISTFORM_H

#include <QWidget>
#include <QList>
#include <QModelIndex>
#include "tracktoroutedialog.h"
#include "geocaching.h"

// Форма "Список треков".

namespace Ui {
class TrackListForm;
}

class TrackListForm : public QWidget
{
    Q_OBJECT

public:
    explicit TrackListForm(Geocaching*, QWidget *parent = 0);
    ~TrackListForm();
    void activateWindow();
private:
    Ui::TrackListForm *ui;
    Geocaching *myProg;
private slots:
    void UpdateForm(void);
    void on_deleteTrackButton_clicked();
    void on_trackListWidget_doubleClicked(const QModelIndex &index);
    void on_trackFindLineEdit_returnPressed();
    void on_trackListWidget_currentRowChanged(int currentRow);
    void on_viewSelectedButton_clicked();
    void on_hideSelectedButton_clicked();
    void on_routeButton_clicked();
};

#endif // TRACKLISTFORM_H
